/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exchangerate;

/**
 *
 * @author Hui
 */
public class Currency {

    private double rate;
    private String Name;

    public Currency() {
        rate = 0.0;
        Name = "";
    }

    public Currency(double rate, String name) {
        this.rate = rate;
        this.Name = name;
    }
    public double getRate(){
        return rate;
    }
    public String getName(){
        return Name;
    }

}
